﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster/SitePlantilla.Master" AutoEventWireup="true" CodeBehind="ListarUsuariosModificar.aspx.cs" Inherits="Sistema_Totem.Vista.Usuarios.ListarUsuariosModificar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link href="/Styles/EstiloPlantilla.css" rel="stylesheet" type="text/css" />
    <div class="cuerpo">
    <div id="ruta" class="ruta">Usuarios > Modificar Usuarios </div>
    <br />
    <br />
    <br />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
         </asp:ScriptManager>
         <asp:UpdatePanel ID="UpdatePanel1" runat="server">
             <ContentTemplate>
                <asp:GridView ID="GridViewModificarUsuario" CssClass="tablas" runat="server" CellPadding="4"
                    ForeColor="#333333" AutoGenerateColumns="False" AlternatingRowStyle-BackColor="#e6e6e6"
                    GridLines="None" Width="600px" HorizontalAlign="Center" Style="text-align: center"
                    AllowPaging="True" OnPageIndexChanging="GridViewModificarUsuario_PageIndexChanging"
                    OnSelectedIndexChanged="GridViewModificarUsuario_SelectedIndexChanged" 
                     PageIndex="8" PageSize="1">
                    <HeaderStyle BackColor="#AA2828" ForeColor="White" />
                    <FooterStyle BackColor="#AA2828" ForeColor="White" />
                    <PagerStyle BackColor="#AA2828" ForeColor="White" HorizontalAlign="Center" />
                    <AlternatingRowStyle BackColor="#E6E6E6"></AlternatingRowStyle>
                    <Columns>
                        <asp:BoundField DataField="Id" HeaderText="Id" />
                        <asp:BoundField DataField="Usuario" HeaderText="Usuario" />
                        <asp:BoundField DataField="Rol" HeaderText="Rol" />
                        <asp:CommandField ButtonType="Image" HeaderText="Modificar" SelectImageUrl="~/Styles/Images/Edit.png"
                            ShowSelectButton="True" />
                    </Columns>
                </asp:GridView>
           </ContentTemplate>
             <Triggers>
                 <asp:AsyncPostBackTrigger ControlID="GridViewModificarUsuario" />
             </Triggers>
         </asp:UpdatePanel> 
    </div>
</asp:Content>
